package com.hsy.crm.web.domain.vo.order;

import com.hsy.crm.web.domain.entity.*;
import com.hsy.crm.web.domain.entity.BaseEntity;
import com.hsy.crm.web.domain.entity.Order;
import com.hsy.crm.web.domain.entity.OrderAccount;
import com.hsy.crm.web.domain.entity.OrderResubject;

import java.util.List;

public class OrderVo extends BaseEntity {

    private int saveType;

    private Order order;

    private List<OrderDetailVo> details;

    private List<OrderResubject> resubjects;

    private List<OrderAccount> accounts;

    public List<OrderResubject> getResubjects() {
        return resubjects;
    }

    public void setResubjects(List<OrderResubject> resubjects) {
        this.resubjects = resubjects;
    }

    public int getSaveType() {
        return saveType;
    }

    public void setSaveType(int saveType) {
        this.saveType = saveType;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public List<OrderDetailVo> getDetails() {
        return details;
    }

    public void setDetails(List<OrderDetailVo> details) {
        this.details = details;
    }

    public List<OrderAccount> getAccounts() {
        return accounts;
    }

    public void setAccounts(List<OrderAccount> accounts) {
        this.accounts = accounts;
    }
}
